#include <stdio.h>
#include <string.h>
void Squeeze(char s[], char c);
int main(void)
{
	char  str[20], ch;
	//printf("Input a string:");
	gets(str);
	//printf("Input a character:");
	ch = getchar();
	Squeeze(str, ch);
	printf("Results: %s\n", str);
	return 0;
}

void Squeeze(char s[], char c){
	char *p=s;
	char s1[20]={0};
	char *ps1=s1;
	while (*p!=0){
		while (*p==c){
			p++;
		}
		*ps1++=*p++;
	}
	*ps1=0;
	ps1=s1;
	p=s;
	while(*ps1!=0){
		*p++=*ps1++;
	}
	*p=0;
}
